package entities;

import javax.persistence.*;

@Embeddable
public class UserPK {
	
	@Column(name="user_id", nullable=false)
	private String userID;
	
	@Column(name="login_name", nullable=false)
	private String loginName;
	
	public UserPK(String userID, String loginName) {
		super();
		this.userID = userID;
		this.loginName = loginName;
	}

	public String getUserID() {
		return userID;
	}

	public void setUserID(String userID) {
		this.userID = userID;
	}

	public String getLoginName() {
		return loginName;
	}

	public void setLoginName(String loginName) {
		this.loginName = loginName;
	}
}
